package com.nineclock.system.feign;

import com.nineclock.common.entity.PageResult;
import com.nineclock.common.entity.Result;
import com.nineclock.system.dto.SysCompanyUserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("sys-service")
public interface SignFeign {

    @GetMapping("/companyUser/queryCompamberListByPage")
    public Result<PageResult<SysCompanyUserDTO>> queryCompanyMemberListByPage(@RequestParam(value = "page") Long page
            , @RequestParam(value ="pageSize" ) Long pageSize);
}


